package xio.leetcode.java.base;

/**
 * 树节点
 * 公共类，leetcode 中很多题目用到
 */
public class TreeNode {
    public int val;
    public TreeNode left;
    public TreeNode right;

    public TreeNode(int x) {
        val = x;
    }
}
